/*
** error.c for  in /home/faye_m//zappy
** 
** Made by mouhamed faye
** Login   <faye_m@epitech.net>
** 
** Started on  Wed Jun 15 19:12:32 2011 mouhamed faye
** Last update Thu Jun 16 17:40:31 2011 mouhamed faye
*/
#include <stdlib.h>
#include <stdio.h>
int	checkport(int n)
{
  if (n > 1023 && n < 65535)
    {
      return (n);
    }
  else
    {
      printf ("\nBad port ...\n");
      printf ("\t\tThe Rang of port must be between 1024 and  65535 ... TRY AGAIN\n\n");
      exit(0);
    }
}
